WIP: test(e2e/vsphere/machines.go): use DeletePropagationForeground policy while deleting CRs to avoid leftovers#1409
WIP: test(e2e/vsphere/machines.go): use DeletePropagationForeground policy while deleting CRs to avoid leftovers#1409machine424 wants to merge 1 commit intoopenshift:mainfrom
Conversation
… while deleting CRs to avoid leftovers
| // Remove machine | ||
| By("delete the machine") | ||
| err = mc.Machines(util.MachineAPINamespace).Delete(ctx, machine.Name, metav1.DeleteOptions{}) | ||
| policy := metav1.DeletePropagationForeground |
There was a problem hiding this comment.
assuming this is implemented by the controller, let's see
| err = mc.MachineSets(util.MachineAPINamespace).Delete(ctx, ddMachineSet.Name, metav1.DeleteOptions{PropagationPolicy: &policy}) | ||
| Expect(err).NotTo(HaveOccurred()) | ||
|
|
||
| // Verify / wait for machineset is removed |
There was a problem hiding this comment.
assuming the policy is propagated to machines and is implemented, let's see
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
/payload-aggregate periodic-ci-openshift-release-master-nightly-4.21-e2e-vsphere-ovn-serial 10 |
|
@machine424: trigger 1 job(s) for the /payload-(with-prs|job|aggregate|job-with-prs|aggregate-with-prs) command
See details on https://pr-payload-tests.ci.openshift.org/runs/ci/6a5b45d0-899e-11f0-876f-3fa2e09ebf24-0 |
|
Hey @machine424 can you explain a little why this change is required and how that fixes your issue, thanks! |
|
Hello @damdo See https://issues.redhat.com/browse/OCPBUGS-61193?focusedId=27993433&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-27993433 |
|
Ok thanks do keep me posted on this |
|
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
|
PR needs rebase. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
Stale issues rot after 30d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle rotten |
|
Rotten issues close after 30d of inactivity. Reopen the issue by commenting /close |
|
@openshift-bot: Closed this PR. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
No description provided.